<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>首页</title>
    <style>
        * {
            margin: 0;
            padding: 0;
            list-style: none;
            font-size: 20px;
            color: #f4f1de;
        }
        body {
            height: 50vh;
            display: flex;
            align-items: center;
            justify-content: center;
            background-image:linear-gradient(to right, #a18cd1, #fbc2eb);
            flex-direction: column;

        }
        .shell{
            display: flex;
            justify-content: center;
        }
        .button,.portrait{
            background-color: #50536e;
            width: 170px;
            height: 65px;
            text-align: center;
            line-height: 65px;
            transition: .3s;
            cursor: pointer;
        }
        .portrait::before{
            content: '';
            display: block;
            width: 100px;
            height: 100px;
            border-radius: 50%;
            transform: translate(30px,-30px);
            background-image: url('./IQ.png');
            background-size: cover;
            border: 10px solid #fff;
        }
        .information{
            width: 220px;
            background-color: #e07a5f;
            transform: translate(-20px,-200px);
            border-radius: 10px;
            padding: 20px 0;
            line-height: 0;
            height: 0;
            transition: .3s;
            opacity: 0;

        }
        .button:hover{
            background-color: #d15a39;
        }
        .button li:hover{
            background-color: #ffb29d;
        }
        .button ul li{
            height: 0;
            transition: .2s;
            opacity: 0;
            transform: translateY(-65px);
            background-color: #e07a5f;

        }
        .button:hover li{
            height: 65px;
            opacity: 1;
            transform: translateY(0);
        }
        .portrait:hover .information{
            opacity: 1;
            line-height: 65px;
            transform: translate(-20px,-10px);
            height: auto;
        }
    </style>

    <style type="text/css" >


    #one-column-emphasis
    {
    font-family: "Lucida Sans Unicode", "Lucida Grande", Sans-Serif;
    font-size: 12px;
    margin: 45px;
        width: 860px;
    text-align: left;
    border-collapse: collapse;
    }
    #one-column-emphasis th
    {
    font-size: 14px;
    font-weight: normal;
    padding: 12px 15px;
    color: #039;
    }
    #one-column-emphasis td
    {
    padding: 10px 15px;
    color: #669;
    border-top: 1px solid #e8edff;
    }
    .oce-first
    {
    background: #d0dafd;
    border-right: 10px solid transparent;
    border-left: 10px solid transparent;
    }
    #one-column-emphasis tr:hover td
    {
    color: #339;
    background: #eff2ff;
    }

    </style>
    <script>
        function dianji() {
            alert("点击事件");
        }
    </script>
</head>

<body>
            <ul class="shell">
                <li class="button">
                    <span>消息</span>
                    <ul>
                        <li>回复我的</li>
                        <li>收到的赞</li>
                        <li>我的消息</li>
                    </ul>
                </li>
                <li class="button">
                    <span><a href="">借阅</a></span>
                </li>
                <li class="portrait">
                    <ul class="information">
                        <li>欢迎你</li>
                        <li>${name}</li>
                    </ul>
                </li>
                <li class="button">
                    <span>收藏</span>
                    <ul>
                        <li>默认收藏夹</li>
                        <li>UI设计</li>
                        <li>懂得都懂</li>
                    </ul>
                </li>
                <li class="button">
                    <span>投稿</span>
                    <ul>
                        <li>专栏投稿</li>
                        <li>音频投稿</li>
                        <li>贴纸投稿</li>
                        <li>视频投稿</li>
                        <li>投稿管理</li>
                    </ul>
                </li>
            </ul>

            <table id="one-column-emphasis" summary="2007 Major IT Companies' Profit">
                <colgroup>
                    <col class="oce-first" />
                </colgroup>
                <thead>
                <tr>
                    <th scope="col">书籍图片</th>
                    <th scope="col">书籍id</th>
                    <th scope="col">书籍名称</th>
                    <th scope="col">作者</th>
                    <th scope="col">类型</th>
                    <th scope="col">页数</th>
                    <th scope="col">CSID</th>
                </tr>
                </thead>
                <tbody>
                <tr>
                    <td>
                        <img src="IQ.png" height="50">
                    </td>
                    <td>102</td>
                    <td>小王子</td>
                    <td>苏蒂尔</td>
                    <td>小说</td>
                    <td>300</td>
                    <td>30ID</td>

                </tr>
                <tr>
                    <td>Google</td>
                    <td>50.2</td>
                    <td>40.63</td>
                    <td>45.23</td>
                    <td>39.3</td>
                </tr>
<!--                <tr>-->
<!--                    <td>Apple</td>-->
<!--                    <td>25.4</td>-->
<!--                    <td>30.2</td>-->
<!--                    <td>33.3</td>-->
<!--                    <td>36.7</td>-->
<!--                </tr>-->
<!--                <tr>-->
<!--                    <td>IBM</td>-->
<!--                    <td>20.4</td>-->
<!--                    <td>15.6</td>-->
<!--                    <td>22.3</td>-->
<!--                    <td>29.3</td>-->
<!--                </tr>-->


                </tbody>

</table>
</body>

</html>